<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:replace="~{/_include/header}" />
    <link rel="stylesheet" type="text/css" th:href="@{/assets/css/feeds.css}" />
    <link rel="stylesheet" type="text/css" th:href="@{/assets/css/view-page.css}" />
    <title th:text="${entityLabel}"></title>
</head>
<body class="view-body">
<div class="view-header">
    <i class="header-icon zmdi" th:classappend="|zmdi-${entityIcon}|"></i>
    <h3 class="title" th:text="${bundle.L('SomeView,e.' + entityName)}"></h3>
    <span>
        <a class="close J_close" th:title="${bundle.L('Close')}"><i class="zmdi zmdi-close"></i></a>
        <a class="close sm J_reload" th:title="${bundle.L('Refresh')}"><i class="zmdi zmdi-refresh"></i></a>
        <a class="close sm admin-show" th:title="${bundle.L('ConfSome,FormLayout')}" th:href="|${baseUrl}/admin/entity/${entityName}/form-design|" target="_blank">
          <i class="zmdi zmdi-settings"></i>
        </a>
      </span>
</div>
<div class="main-content container-fluid">
    <div class="row">
        <div class="col-12 col-md-12">
            <div class="tab-container">
                <ul class="nav nav-tabs">
                    <li class="nav-item"><a class="nav-link active" href="#tab-rbview" data-toggle="tab">[[${bundle.L('View')}]]</a></li>
                    <a class="vtab-settings admin-show J_view-addons" data-type="TAB" th:title="${bundle.L('ConfSome,ViewShowAddon')}"><i class="zmdi zmdi-settings"></i></a>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="tab-rbview"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:replace="~{/_include/footer}" />
<script>
    window.__PageConfig = {
        type: 'RecordView',
        entity: ['[[${entityName}]]', '[[${entityLabel}]]', '[[${entityIcon}]]'],
        privileges: _$unthy('[[${entityPrivileges}]]'),
        viewTabs: _$unthy('[[${ViewTabs}]]'),
        viewAdds: _$unthy('[[${ViewAdds}]]'),
        transformTos: _$unthy('[[${TransformTos}]]'),
        recordId: '[[${id}]]',
    }
</script>
<script th:src="@{/assets/js/feeds/feeds-list.js}" type="text/babel"></script>
<script th:src="@{/assets/js/rb-forms.js}" type="text/babel"></script>
<script th:src="@{/assets/js/rb-forms.append.js}" type="text/babel"></script>
<script th:src="@{/assets/js/rb-view.js}" type="text/babel"></script>
<script th:src="@{/assets/js/rb-assignshare.js}" type="text/babel"></script>
<script th:src="@{/assets/js/rb-approval.js}" type="text/babel"></script>
</body>
</html>
